package com.dhsc.controller.yykh.yyzlkh;

import com.dhsc.domain.ywzx.yykh.yyzlkh.YwycclmxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.yykh.yyzlkh.IYwycclmxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName YwycclmxController
 * @description: 业务异常处理明细
 * @author: gx
 * @create: 2024-04-23 10:44:11
 **/
@Controller
@RequestMapping("/yykh/yyzlkh")
public class YwycclmxController {

    @Autowired
    private IYwycclmxService ywycclmxService;

    /**
    * @Description: 查询业务异常处理明细
    * @MessageName: queryYwycclmx
    * @param: ywycclmxVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2024/4/23 10:45
    */
    @ResponseBody
    @RequestMapping(value="/queryYwycclmx")
    public LayuiTableVo queryYwycclmx(YwycclmxVo ywycclmxVo)
    {
        return ywycclmxService.queryYwycclmx(ywycclmxVo);
    }

    /**
    * @Description: 修改业务异常处理明细
    * @MessageName: updateYwycclmx
    * @param: ywycclmxVo
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2024/4/23 10:45
    */
    @ResponseBody
    @RequestMapping(value="/updateYwycclmx")
    public ResponseObject updateYwycclmx(YwycclmxVo ywycclmxVo)
    {
        return ywycclmxService.updateYwycclmx(ywycclmxVo);
    }
}
